package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IMyExtensionActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.req.AppModleRequest;
import com.wgts.wgts.netmodle.resp.AppModleEntity;

import java.util.List;

public class MyExtensionActivityModel implements IMyExtensionActivityModel {

    private NetService netService;

    public MyExtensionActivityModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void loadGif(HttpResultSubscriber<List<AppModleEntity>> subscriber) {
        AppModleRequest appModleRequest = new AppModleRequest();
        appModleRequest.scene = "7";
        appModleRequest.parentTypeId = -1;
        netService.appModle(appModleRequest, subscriber);
    }
}
